<?php

Route::namespace('Admin')/*->prefix('admin')*/->middleware(['adminAuth'])->group(function () {
    Route::resource('admin', 'AdminController', ['only' => [ 'index', 'create', 'store', 'update', 'edit', 'destroy']]);
});